﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoulDoorEngine.Components.Smart2D.Basic;

namespace SoulDoorEngine.Components.Smart2D.Events
{
    /// <summary>
    /// 鼠标按键按下事件参数
    /// </summary>
    public class MouseButtonDownEventArgs : EventArgs
    {
        private Vector _Position;

        /// <summary>
        /// 鼠标按键事件发生位置
        /// </summary>
        public Vector Position
        {
            get { return _Position; }
            set { _Position = value; }
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="positon">鼠标按键事件位置</param>
        public MouseButtonDownEventArgs(Vector positon)
        {
            this.Position = positon;
        }
    }
}
